<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
  <meta charset="UTF-8">
  <title>Admin</title>
</head>
<body>
<div class="container">

  <ul class="layui-nav right" lay-filter="">
    <li class="layui-nav-item">
      <a>欢迎你，[[${session.SPRING_SECURITY_CONTEXT.authentication.principal.stuName}]]</a>
      <a th:href="@{/student/logout}">退出</a>
    </li>

  </ul>

</div>

<div class="left-nav">
  <div id="side-nav">
    <ul id="nav">
      <li>
        <ul class="sub-menu">
          <li>
            <a th:href="@{/student/do_student_score_list}">
              <cite>查看成绩</cite>
            </a>
          </li>
          <li>
            <a th:href="@{/student/do_student_class_list}">
              <cite>查看课程</cite>
            </a>
          </li>
          <li>
            <a th:href="@{/student/do_student_password}">
              <cite>修改密码</cite>
            </a>
          </li>
        </ul>
      </li>

      </li>
    </ul>
  </div>
</div>

<div class="page-content">
  <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
    <ul>
      <li></li>
    </ul>
    <div class="layui-tab-content">
      <table class="user-table">
        <thead>
        <tr>
          <th>课程</th>
          <th>班级</th>
          <th>人数</th>
          <th>开课时间</th>
          <th>结课时间</th>
        </tr>
        </thead>
        <tbody th:each="class:${session.classList}">
        <tr>

          <td th:text="${class.courseName}">0</td>
          <td th:text="${class.classId}">0</td>
          <td th:text="${class.numbers}">0</td>
          <td th:text="${#dates.format(class.startTime,'yyyy-MM-dd')}">0</td>
          <td th:text="${#dates.format(class.endTime,'yyyy-MM-dd')}">0</td>


        </tr>

        </tbody>
      </table>



    </div>
  </div>
</div>
</div>
</body>
</html>